﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm5.aspx.cs" Inherits="WebApplication1.WebForm5" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
</head>
<body>
    <form id="form1" runat="server" class="container">
        <div>
            <h1>学生更新列表<small>BootstrapUI库</small></h1>
        </div>
        <div class="form-horizontal">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">姓名：</label>
                <div class="col-sm-10">
                    <asp:TextBox ID="textname" runat="server" CssClass="form-control"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">密码：</label>
                <div class="col-sm-10">
                    <asp:TextBox ID="textpwd" runat="server" CssClass="form-control"></asp:TextBox>
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">电话：</label>
                <div class="col-sm-10">
                    <asp:TextBox ID="texttel" runat="server" CssClass="form-control"></asp:TextBox>
                </div>
            </div>
            <%--<div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">注册时间：</label>
                <div class="col-sm-10">
                    <asp:TextBox ID="texttime" runat="server" CssClass="form-control"></asp:TextBox>
                </div>
            </div>--%>

            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">性别：</label>
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                        <asp:RadioButtonList ID="textsex" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0">男</asp:ListItem>
                            <asp:ListItem Value="1">女</asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">类型：</label>
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                        <asp:DropDownList ID="texttype" runat="server">
                            <asp:ListItem Value="0">老师</asp:ListItem>
                            <asp:ListItem Value="1">学生</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <asp:Button ID="button" class="btn btn-primary" runat="server" Text="更新" OnClick="Button1_Click" />
                </div>
            </div>
        </div>

    </form>
</body>
</html>
